﻿// --------------------------------------------------------------------------------------------------------------------
// <copyright file="IErrorLog.cs" company="Özgür Aytekin / Sandro Schnapp">
//   Özgür Aytekin / Sandro Schnapp
// </copyright>
// <summary>
//   Defines the IErrorLog type.
// </summary>
// --------------------------------------------------------------------------------------------------------------------

using System;

namespace SqlSystemWatcher.Entities
{
    /// <summary>
    ///     The ErrorLog interface.
    /// </summary>
    public interface IErrorLog
    {
        /// <summary>
        ///     Gets or sets the id.
        /// </summary>
        int Id { get; set; }

        /// <summary>
        ///     Gets or sets the instance name.
        /// </summary>
        string InstanceName { get; set; }

        /// <summary>
        ///     Gets or sets the message text.
        /// </summary>
        string MessageText { get; set; }

        /// <summary>
        ///     Gets or sets the last modified.
        /// </summary>
        DateTime LastModified { get; set; }
    }
}